package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

public interface IotService {
    void getDeviceList();

    List<ProductVo> getAllProduct();

    void RegisterDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePage);

    DeviceVo queryDeviceDetail(DeviceDto deviceDto);

    ResponseResult queryDevicePropertyStatus(DeviceDto deviceDto);

    ResponseResult queryThingModelPublished(DeviceDto deviceDto);

    void updateDeviceNikeName(DeviceDto deviceDto);

    void deleteByIotId(DeviceDto deviceDto);
}
